<template>
  <div class="root">
    <div class="row">
      <div class="cell" style="margin-right: 40px">
        <div class="label">系统时间</div>
        <div class="value">
          <el-date-picker v-model="time" type="date" placeholder="选择日期">
          </el-date-picker>
        </div>
      </div>
    </div>
    <div class="row">
      <div class="cell" style="margin-right: 40px">
        <div class="label">IP地址</div>
        <div class="value">
          <el-input placeholder="" v-model="ip"> </el-input>
        </div>
      </div>
    </div>
    <div class="row">
      <div class="cell" style="margin-right: 40px">
        <div class="label">子网掩码</div>
        <div class="value">
          <el-input placeholder="" v-model="subnetMask"> </el-input>
        </div>
      </div>
    </div>
    <div class="row">
      <div class="cell" style="margin-right: 40px">
        <div class="label">版本号</div>
        <div class="value">
          <el-input placeholder="" v-model="version"> </el-input>
        </div>
      </div>
    </div>
    <div class="row" style="margin: 15px 0">
      <button class="button" style="margin-right: 25px" @click="reset">
        重启系统
      </button>
      <button class="button" @click="uodate">修改</button>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      version: "",
      subnetMask: "",
      ip: "",
      time: "",
    };
  },
  methods: {
    loadData() {},
    reset(){

    },
    uodate(){

    }
  },
};
</script>

<style scoped lang="scss">
.root {
  height: 100%;
  width: 100%;
  display: flex;
  padding: 0 20px;
  flex-direction: column;
}
.row {
  display: flex;
  flex-direction: row;
}
.cell {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  margin-top: 15px;
  .label {
    width: 110px;
    text-align: left;
  }
  .value {
    color: #8d8e99;
    .el-input {
      width: 180px;
    }
    .el-textarea {
      width: 350px;
    }
  }
  .priceUnit {
    line-height: 32px;
    font-family: PingFang SC;
    color: #000000;
    font-size: 12px;
  }
  &.req {
    .label {
      &::before {
        content: "*";
        color: red;
      }
    }
  }
}
.button {
  height: 30px;
  line-height: 30px;
  padding: 0 30px;
  color: #1996fa;
  background: #e6f1fc;
  border: 1px solid #d0e7fe;
  border-radius: 5px;
}
</style>
